package cn.cdutetc.foxwatch.serveice;

import cn.cdutetc.foxwatch.exception.MyException;
import cn.cdutetc.foxwatch.pojo.UserPojo;
import com.baomidou.mybatisplus.extension.service.IService;

public interface UserService extends IService<UserPojo> {
    Boolean register(UserPojo userPojo, String rePassword) throws MyException;

    String login(UserPojo userPojo) throws MyException;
}
